{if $arrGift}
    <ul>
        {foreach key=i item=item from=$arrGift}
            <li{if $i==0} class="firstChild"{/if} {if $AppUI->id == $intUserProId && $AppUI->id > 0 && $item.statuses < 2}onmouseover="javascript:onMouseOverForGift({$item.fgiftid});" onmouseout="javascript:onMouseOutForGift({$item.fgiftid});"{/if}>
            	{if $item.statuses < 2}
                    <div class="shRow" id="shUgift{$item.fgiftid}" >
                        {if $item.statuses == 0}
                            <a href="javascript:acceptGift({$item.fgiftid},'{$item.targetid|base64E}','{$item.fgiftid|secret:$smarty.const.SE_FULLHOUSE_GIFT_ACCEPT}');">Đồng ý</a>
                            <a href="javascript:deniGift({$item.fgiftid},'{$item.targetid|base64E}','{$item.fgiftid|secret:$smarty.const.SE_FULLHOUSE_GIFT_DENY}');">Từ chối</a>
                        {elseif $item.statuses == 1}
                        	<a href="javascript:deleteGift({$item.fgiftid},'{$item.targetid|base64E}','{$item.fgiftid|secret:$smarty.const.SE_FULLHOUSE_GIFT_DELETE}')">Xóa</a>
                        {/if}
                    </div>
                {/if}
                {image userid=$item.targetid viewid=$AppUI->id type=1 small=2 class="border50NB lFloat"}
                <div class="info">
                    {image path=$item.image viewid=$AppUI->id type=4 class="border40NB rFloat"}
                    <h4><a href="{vfriend_username userid=$item.targetid viewid=$AppUI->id}">{$item.targetid|ouser}</a></h4>
                    <p title="Tặng {$item.quantity|number_format:"0":",":"."} sản phẩm {$item.name|escape}"><span>tặng</span> {$item.name} ({$item.quantity|number_format:"0":",":"."})</p>
                </div>
            </li>
        {/foreach}
        {if $intTotalG > $intLimitG}
            <li>{paging total=$intTotalG limit=$intLimitG offset=$intOffsetG url=$strUrlG display=5 div="sGift" name="gpage"}</li>
        {/if} 
    </ul>                                        
{else}
    <div class="notContent">Hiện tại, <strong>{$objUser->fullnamevn}</strong> không có quà tặng.</div>
{/if}